/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>GTS Abbreviation Holidays US National</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S10733 (C-0-T10720-S10725-S10733-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getGTSAbbreviationHolidaysUSNational()
 * @model extendedMetaData="name='GTSAbbreviationHolidaysUSNational'"
 * @generated
 */
public enum GTSAbbreviationHolidaysUSNational implements Enumerator {
	/**
	 * The '<em><b>JHNUS</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUS_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUS(0, "JHNUS", "JHNUS"),

	/**
	 * The '<em><b>JHNUSCLM</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSCLM_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSCLM(1, "JHNUSCLM", "JHNUSCLM"),

	/**
	 * The '<em><b>JHNUSIND</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSIND(2, "JHNUSIND", "JHNUSIND"),

	/**
	 * The '<em><b>JHNUSIND1</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND1_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSIND1(3, "JHNUSIND1", "JHNUSIND1"),

	/**
	 * The '<em><b>JHNUSIND5</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND5_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSIND5(4, "JHNUSIND5", "JHNUSIND5"),

	/**
	 * The '<em><b>JHNUSLBR</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSLBR_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSLBR(5, "JHNUSLBR", "JHNUSLBR"),

	/**
	 * The '<em><b>JHNUSMEM</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSMEM(6, "JHNUSMEM", "JHNUSMEM"),

	/**
	 * The '<em><b>JHNUSMEM5</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM5_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSMEM5(7, "JHNUSMEM5", "JHNUSMEM5"),

	/**
	 * The '<em><b>JHNUSMEM6</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM6_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSMEM6(8, "JHNUSMEM6", "JHNUSMEM6"),

	/**
	 * The '<em><b>JHNUSMLK</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSMLK_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSMLK(9, "JHNUSMLK", "JHNUSMLK"),

	/**
	 * The '<em><b>JHNUSPRE</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSPRE_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSPRE(10, "JHNUSPRE", "JHNUSPRE"),

	/**
	 * The '<em><b>JHNUSTKS</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSTKS_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSTKS(11, "JHNUSTKS", "JHNUSTKS"),

	/**
	 * The '<em><b>JHNUSTKS5</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSTKS5_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSTKS5(12, "JHNUSTKS5", "JHNUSTKS5"),

	/**
	 * The '<em><b>JHNUSVET</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #JHNUSVET_VALUE
	 * @generated
	 * @ordered
	 */
	JHNUSVET(13, "JHNUSVET", "JHNUSVET");

	/**
	 * The '<em><b>JHNUS</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUS</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUS
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUS_VALUE = 0;

	/**
	 * The '<em><b>JHNUSCLM</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSCLM</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSCLM
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSCLM_VALUE = 1;

	/**
	 * The '<em><b>JHNUSIND</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSIND</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSIND_VALUE = 2;

	/**
	 * The '<em><b>JHNUSIND1</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSIND1</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND1
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSIND1_VALUE = 3;

	/**
	 * The '<em><b>JHNUSIND5</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSIND5</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSIND5
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSIND5_VALUE = 4;

	/**
	 * The '<em><b>JHNUSLBR</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSLBR</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSLBR
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSLBR_VALUE = 5;

	/**
	 * The '<em><b>JHNUSMEM</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSMEM</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSMEM_VALUE = 6;

	/**
	 * The '<em><b>JHNUSMEM5</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSMEM5</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM5
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSMEM5_VALUE = 7;

	/**
	 * The '<em><b>JHNUSMEM6</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSMEM6</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSMEM6
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSMEM6_VALUE = 8;

	/**
	 * The '<em><b>JHNUSMLK</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSMLK</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSMLK
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSMLK_VALUE = 9;

	/**
	 * The '<em><b>JHNUSPRE</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSPRE</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSPRE
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSPRE_VALUE = 10;

	/**
	 * The '<em><b>JHNUSTKS</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSTKS</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSTKS
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSTKS_VALUE = 11;

	/**
	 * The '<em><b>JHNUSTKS5</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSTKS5</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSTKS5
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSTKS5_VALUE = 12;

	/**
	 * The '<em><b>JHNUSVET</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>JHNUSVET</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #JHNUSVET
	 * @model
	 * @generated
	 * @ordered
	 */
	public static final int JHNUSVET_VALUE = 13;

	/**
	 * An array of all the '<em><b>GTS Abbreviation Holidays US National</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final GTSAbbreviationHolidaysUSNational[] VALUES_ARRAY =
		new GTSAbbreviationHolidaysUSNational[] {
			JHNUS,
			JHNUSCLM,
			JHNUSIND,
			JHNUSIND1,
			JHNUSIND5,
			JHNUSLBR,
			JHNUSMEM,
			JHNUSMEM5,
			JHNUSMEM6,
			JHNUSMLK,
			JHNUSPRE,
			JHNUSTKS,
			JHNUSTKS5,
			JHNUSVET,
		};

	/**
	 * A public read-only list of all the '<em><b>GTS Abbreviation Holidays US National</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<GTSAbbreviationHolidaysUSNational> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>GTS Abbreviation Holidays US National</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static GTSAbbreviationHolidaysUSNational get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			GTSAbbreviationHolidaysUSNational result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>GTS Abbreviation Holidays US National</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static GTSAbbreviationHolidaysUSNational getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			GTSAbbreviationHolidaysUSNational result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>GTS Abbreviation Holidays US National</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static GTSAbbreviationHolidaysUSNational get(int value) {
		switch (value) {
			case JHNUS_VALUE: return JHNUS;
			case JHNUSCLM_VALUE: return JHNUSCLM;
			case JHNUSIND_VALUE: return JHNUSIND;
			case JHNUSIND1_VALUE: return JHNUSIND1;
			case JHNUSIND5_VALUE: return JHNUSIND5;
			case JHNUSLBR_VALUE: return JHNUSLBR;
			case JHNUSMEM_VALUE: return JHNUSMEM;
			case JHNUSMEM5_VALUE: return JHNUSMEM5;
			case JHNUSMEM6_VALUE: return JHNUSMEM6;
			case JHNUSMLK_VALUE: return JHNUSMLK;
			case JHNUSPRE_VALUE: return JHNUSPRE;
			case JHNUSTKS_VALUE: return JHNUSTKS;
			case JHNUSTKS5_VALUE: return JHNUSTKS5;
			case JHNUSVET_VALUE: return JHNUSVET;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private GTSAbbreviationHolidaysUSNational(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //GTSAbbreviationHolidaysUSNational
